package com.mbyte.easy.student.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.mbyte.easy.student.entity.Student;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author lp
 * @since 2020-06-16
 */
public interface IStudentService extends IService<Student> {

    IPage<Student> getInfopage(Page<Student> page, QueryWrapper<Student> queryWrapper);

    /**
     * 用于查看班级学生列表
     * @param page
     * @param queryWrapper
     * @param id
     * @return
     */
    IPage<Student> getAllStuInfopage(Page<Student> page, QueryWrapper<Student> queryWrapper,Long id);

}
